4eb9a3c736713451dcf30b1c50042be49b9d9b7f,android-maps-extensions/src/pl/mg6/android/maps/extensions/impl/GridClusteringStrategy.java,GridClusteringStrategy,createMarker,#List#LatLng#,433
Before Change
}
if (iconDataProvider != null) {
MarkerOptions opts = iconDataProvider.getIconData(markers.size());
return map.addMarker(markerOptions.position(position).icon(opts.getIcon()).anchor(opts.getAnchorU(), opts.getAnchorV()));
}
throw new RuntimeException();
}
After Change
markerOptions.rotation(opts.getRotation());
} else {
MarkerOptions opts = iconDataProvider.getIconData(markers.size());
markerOptions.icon(opts.getIcon());
markerOptions.anchor(opts.getAnchorU(), opts.getAnchorV());
markerOptions.flat(opts.isFlat());
markerOptions.infoWindowAnchor(opts.getInfoWindowAnchorU(), opts.getInfoWindowAnchorV());